<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix='sec' uri='http://www.springframework.org/security/tags'%>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<script type="text/javascript" src="scripts/boot.js"></script>
	<style type="text/css">
	    html, body{
	        margin:0;padding:0;border:0;width:100%;height:100%;overflow:hidden;
	    }    
    </style>
</head>
<body>
	<input class="mini-hidden" id="customer_id"/>
	<input class="mini-hidden" id="serialNum"/>
	<div id="tabs1" class="mini-tabs" activeIndex="0" style="width:100%; height:100%;" plain="false" ontabload="tabload">
	    <div title="订单信息" url="orders_find_orders_info.do?id=<s:property value='id'/>" refreshOnClick="true" iconCls="icon-tip">
	    </div>
	    <div title="客户信息" url="orders_find_customer_info.do" refreshOnClick="true">
	    </div>
	    <div title="跟踪信息" url="platform_trace_detail_init.do" refreshOnClick="true">
	    </div>
	</div>
</body>
</html>

<script type="text/javascript">
	mini.parse();
	var customerId = mini.get("customer_id");
	var serialNum = mini.get("serialNum");
	
	top["win"] = window;
	function setId(cId, sNum){
	    customerId.setValue(cId);
	    serialNum.setValue(sNum);
	}
	
	// 将订单id传到订单信息页面
	function tabload(e) {
		var data = {customerId: customerId.getValue(), serialNum: serialNum.getValue()};
		var iframe = this.getTabIFrameEl(e.tab);
	    iframe.contentWindow.SetData(data);
	}
	
</script>